package com.frikinet.lifeguard.util;

import java.util.ArrayList;

public class Week extends ArrayList<Day>
{
	private static final long serialVersionUID = 1L;

	public Week()
	{
		this(0);
	}

	public Week(int blanks)
	{
		super();
		for (int i = 0; i < blanks; i++)
		{
			add(new Day());
		}
	}

	public boolean isFull()
	{
		return size() == 7;
	}

	public void fill()
	{
		while (!isFull())
			add(new Day());
	}
}
